package com.woldier.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woldier.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService extends IService<ShoppingCart>  {
    /*通过uid 获取*/
    List<ShoppingCart> getByUid(Long uid);

    /*通过uid 并且通过dish_id 或者 category_id 获取*/
    ShoppingCart getByUid(ShoppingCart shoppingCart);

}
